<T:ViewBase x:Class="INTEX.SCHEDULER.Step"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  
            xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
               xmlns:Localization="clr-namespace:Localization;assembly=Localization"
             mc:Ignorable="d" 
             > 
    <Border Cursor="Hand" x:Name="border" VerticalAlignment="Top" BorderThickness="2,2,2,2">
        <Grid Width="120">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
            </Grid.RowDefinitions>
            <Grid Grid.Row="0" HorizontalAlignment="Center">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <WrapPanel   Grid.Row="0" Grid.Column="0">
                    <TextBlock Text="{Binding Path=STEP}" Width="Auto"  ></TextBlock>
                </WrapPanel>
                <WrapPanel   Grid.Row="0" Grid.Column="1">
                    <TextBlock Text="{Binding Path=OPERATION}" Width="Auto"  ></TextBlock>
                </WrapPanel>
            </Grid>
            <Grid Grid.Row="1">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="40"></ColumnDefinition>
                    <ColumnDefinition Width="40"></ColumnDefinition>
                    <ColumnDefinition Width="40"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Grid Name="D1" Grid.Row="0" Grid.Column="0" Background="LightYellow" Margin="0,0,0,2" HorizontalAlignment="Center"  >
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"></RowDefinition>
                        <RowDefinition Height="Auto"></RowDefinition>
                    </Grid.RowDefinitions>
                    <WrapPanel>
                        <TextBlock Text="{Binding Source={Localization:Translate Word=产}}" Width="Auto"   ></TextBlock> 
                    </WrapPanel>
                    <TextBlock Grid.Row="1" Text="{Binding Path=QTYACT}" Width="Auto"   ></TextBlock>
                </Grid>
                <Grid Name="D2" Grid.Row="0" Grid.Column="1" Background="LightGreen" Margin="0,0,0,2">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"></RowDefinition>
                        <RowDefinition Height="Auto"></RowDefinition>
                    </Grid.RowDefinitions>
                    <WrapPanel HorizontalAlignment="Center" >
                        <TextBlock Text="{Binding Source={Localization:Translate Word=机}}" Width="Auto"  ></TextBlock>
                        <TextBlock Text="{Binding Path=MNUM}" Width="Auto"    ></TextBlock>
                    </WrapPanel>
                    <TextBlock Grid.Row="1" Text="{Binding Path=MACHINEID}" Width="Auto"  HorizontalAlignment="Center"   ></TextBlock>
                </Grid>
                <Grid Name="D3" Grid.Row="0" Grid.Column="2" Background="LightBlue" Margin="0,0,0,2" HorizontalAlignment="Center">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"></RowDefinition>
                        <RowDefinition Height="Auto"></RowDefinition>
                    </Grid.RowDefinitions>
                    <WrapPanel>
                        <TextBlock Text="{Binding Source={Localization:Translate Word=均}}" Width="Auto"  HorizontalAlignment="Center"  ></TextBlock>
                        <TextBlock Text="{Binding Path=DAILYQTY}" Width="Auto"  HorizontalAlignment="Center"   ></TextBlock>
                    </WrapPanel>
                    <TextBlock Grid.Row="1" Text="{Binding Path=DAILY}" HorizontalAlignment="Center"   ></TextBlock>
                </Grid> 
            </Grid>
        </Grid>
    </Border>
</T:ViewBase>
